package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.PersonalMessage;
import cn.wolfcode.trip.base.query.PersonalMessageQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPersonalMessageService {


    PageInfo<PersonalMessage> queryForSenderByGetterId(PersonalMessageQueryObject qo);
    PageInfo<PersonalMessage> queryForChatRecords(PersonalMessageQueryObject queryObject);

    void save(PersonalMessage personalMessage);
    PersonalMessage selectByPrimaryKey(Long id);

    void updateState(PersonalMessage personalMessage);
}
